package org.fight.landowner.common.serialize;

/**
 * @Author wangxuehao02
 * @Date 2024/2/8 4:19 PM
 * @Description
 **/
public interface BytesSerializer {
    byte[] serialize(Object data);

    <T> T deSerialize(byte[] data, Class<T> clazz);
}
